package com.lanou3g.musicenjoy.entity;

import java.util.List;

/**
 * Created by 李宁 on 15/10/27.
 * 滑动翻页实体类
 */
public class FlippableStackViewEntity {

    /**
     * data : [{"action":{"type":13,"value":null},"desc":"根据你的听歌记录，推荐符合你音乐口味的歌曲，让你和喜欢的音乐不期而遇。","detail":"根据你的听歌记录，推荐符合你音乐口味的歌曲，让你和喜欢的音乐不期而遇。","id":2794,"name":"猜你喜欢 - 20 首","picUrl":"http://3p.pic.ttdtweb.com/online.dongting.com/channel/3a/c8401bc7/1418887651139.jpg?v=1418887651139","reason":"根据你的音乐口味，为你量身定制","smallPicUrls":["http://img.xiami.net/images/ttpod/album/217/6/1121707_4.jpg","http://img.xiami.net/images/album/img72/119672/98966621409896662_4.jpg","http://img.xiami.net/images/ttpod/album/208/4/1150258_4.jpg","http://img.xiami.net/images/ttpod/album/181/3/1186951_4.jpg","http://img.xiami.net/images/ttpod/album/49/2/1120009_4.jpg","http://img.xiami.net/images/ttpod/album/29/5/681644_4.jpg","http://img.xiami.net/images/album/img72/119672/7012566031412991853_4.jpg","http://img.xiami.net/images/ttpod/album/101/0/1165451_4.jpg","http://img.xiami.net/images/album/img72/119672/9117144091411714410_4.jpg"]},{"action":{"type":5,"value":"96976090"},"author":"虎毒不食shi","comments":"0","desc":null,"id":"96976090","listenCount":"9135","name":"Michael_Scofield-李佳恒收藏的歌曲","picUrl":"http://3p.pic.ttdtweb.com/3p.ttpod.com/playlist/116/5/299486.jpg","reason":"根据你试听的《李白》推荐","scm":"1007.11610.10707.100200300000002","weight":1}]
     */

    private List<DataEntity> data;

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * action : {"type":13,"value":null}
         * desc : 根据你的听歌记录，推荐符合你音乐口味的歌曲，让你和喜欢的音乐不期而遇。
         * detail : 根据你的听歌记录，推荐符合你音乐口味的歌曲，让你和喜欢的音乐不期而遇。
         * id : 2794
         * name : 猜你喜欢 - 20 首
         * picUrl : http://3p.pic.ttdtweb.com/online.dongting.com/channel/3a/c8401bc7/1418887651139.jpg?v=1418887651139
         * reason : 根据你的音乐口味，为你量身定制
         * smallPicUrls : ["http://img.xiami.net/images/ttpod/album/217/6/1121707_4.jpg","http://img.xiami.net/images/album/img72/119672/98966621409896662_4.jpg","http://img.xiami.net/images/ttpod/album/208/4/1150258_4.jpg","http://img.xiami.net/images/ttpod/album/181/3/1186951_4.jpg","http://img.xiami.net/images/ttpod/album/49/2/1120009_4.jpg","http://img.xiami.net/images/ttpod/album/29/5/681644_4.jpg","http://img.xiami.net/images/album/img72/119672/7012566031412991853_4.jpg","http://img.xiami.net/images/ttpod/album/101/0/1165451_4.jpg","http://img.xiami.net/images/album/img72/119672/9117144091411714410_4.jpg"]
         */

        private ActionEntity action;
        private String desc;
        private String detail;
        private int id;
        private String name;
        private String picUrl;
        private String reason;
        private List<String> smallPicUrls;

        public void setAction(ActionEntity action) {
            this.action = action;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public void setSmallPicUrls(List<String> smallPicUrls) {
            this.smallPicUrls = smallPicUrls;
        }

        public ActionEntity getAction() {
            return action;
        }

        public String getDesc() {
            return desc;
        }

        public String getDetail() {
            return detail;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public String getReason() {
            return reason;
        }

        public List<String> getSmallPicUrls() {
            return smallPicUrls;
        }

        public static class ActionEntity {
            /**
             * type : 13
             * value : null
             */

            private int type;
            private Object value;

            public void setType(int type) {
                this.type = type;
            }

            public void setValue(Object value) {
                this.value = value;
            }

            public int getType() {
                return type;
            }

            public Object getValue() {
                return value;
            }
        }
    }
}
